package com.tegistuff.webos.run.debugger.infrastructure;

/**
 * WebOSDebuggerConstants.java
 *
 * Copyright (C) 2012 Timo Tegtmeier.
 * All rights reserved.
 */
public class WebOSDebuggerConstants {
    
    public static int MAX_RETRIES           = 3;
    
    public static int MAX_VAR_PER_LOOKUP    = 25;

    public static String ERROR_VALUE        = "???";

    public static String V8_HANDLE          = "handle";
    public static String V8_REFERENCE       = "ref";
    public static String V8_REFERENCES      = "refs";
    public static String V8_NAME            = "name";
    public static String V8_VALUE           = "value";
    public static String V8_BODY            = "body";
    public static String V8_PROPERTIES      = "properties";
    public static String V8_TEXT            = "text";
    public static String V8_INF_NAME        = "inferredName";
    public static String V8_CLASSNAME       = "className";

    public static String V8_HIDDEN_PREFIX   = ".";

    public static String V8_TYPE            = "type";
    public static String V8_TYPE_UNDEFINED  = "undefined";
    public static String V8_TYPE_NULL       = "null";
    public static String V8_TYPE_BOOL       = "boolean";
    public static String V8_TYPE_NUMBER     = "number";
    public static String V8_TYPE_STRING     = "string";
    public static String V8_TYPE_OBJECT     = "object";
    public static String V8_TYPE_FUNCTION   = "function";

    public static String V8_CLASSNAME_ARRAY = "Array";
}
